using System;
using System.Collections.Generic;

using PlugNT.Common;
using PlugNT.Cms.Custom;
using PlugNT.Cms.Model;

namespace PlugNT.App.Shop.Model
{




    public class ShopModelInfo : SysModelInfo
    {


        public int channel_layer = 0;

        public int wel_size = 0;

        public int index_size = 0;

        public int cart_expired_days = 0;

        public int goods_email_tmp_id = 0;

        public override void ArrBind()
        {
            string[] sArr = arr_str.Split(',');
            int tLen = sArr.Length;
            int tFlag = 0;

            channel_layer = (tLen > tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            wel_size = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            index_size = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            cart_expired_days = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
            goods_email_tmp_id = (tLen > ++tFlag) ? (Utils.IsNumeric(sArr[tFlag]) ? int.Parse(sArr[tFlag]) : 0) : 0;
        }

    }


}

